package com.jy.api.misc.dto;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据集
 */
@Setter
@Getter
public class ShuJuJiDto {

    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "数据集id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long shuJuJID;

    @ApiModelProperty(value = "名称")
    private String mingCheng;

    @ApiModelProperty(value = "编码")
    private String bianMa;

    @ApiModelProperty(value = "是否主键")
    private String isPrimaryKey;

    @ApiModelProperty(value = "非空")
    private String feiKong;

    @ApiModelProperty(value = "默认值")
    private String defaultValue;

    @ApiModelProperty(value = "编号")
    private String bianHao;

    @ApiModelProperty(value = "内部编号")
    private String neiBuBH;

    @ApiModelProperty(value = "说明")
    private String shuoMing;

    @ApiModelProperty(value = "最小长度")
    private String zuiXiaoCD;

    @ApiModelProperty(value = "最大长度")
    private String zuiDaCD;

    @ApiModelProperty(value = "原始数据类型")
    private String yuanShiSJLX;

    @ApiModelProperty(value = "数据类型")
    private String shuJuLX;

    @ApiModelProperty(value = "数据元允许值")
    private String shuJuYYXZ;

    @ApiModelProperty(value = "版本")
    private String banBen;

    @ApiModelProperty(value = "输入码：名称的首字母")
    private String shuRuMa;

    @ApiModelProperty(value = "是否必传 0否 1是")
    private Integer shiFouBC;

    @ApiModelProperty(value = "值域标识符")
    private String zhiYuBSF;

    @ApiModelProperty(value = "格式")
    private String geShi;

    @ApiModelProperty("数据元标识符")
    private String shuJuYuanBSF;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date chuangJianSJ;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date xiuGaiSJ;

    private Integer zuoFeiBZ;

    private String shuJuJDM;
}
